<?php 
class NewsList extends Module{
	function NewsList($row){
		Module::Module($row);
		
		$news_catid = (int) Url::get('news_catid',0);
		
		if($news_catid)
		{
			require_once 'forms/NewsList.php';
			$this->add_form(new NewsListForm()); 
		}
		else
		{
			Url::redirect("news"); 
		}
	}
}
?>